package com.google.code.ojar.sendtemplatemail.app.exception;
/**
 * Exception class that indicate a general error in the app
 * @author ottoabreu
 *
 */
public class AppException extends RuntimeException {

	/**
	 * RESOURCE_NOT_FOUND_ERROR="The required resource is not in the classpath (missing resource) :";
	 */
	public static final String 	RESOURCE_NOT_FOUND_ERROR="The required resource is not in the classpath (missing resource) :";
	
	/**
	 * 	VALUE_NOT_FOUND_ERROR="The required value is not present in the property file :";
	 */
	public static final String 	VALUE_NOT_FOUND_ERROR="The required value is not present in the property file :";
	
	/**
	 * 	REQ_VALUE_NULL_ERROR="The required value is null";
	 */
	public static final String 	REQ_VALUE_NULL_ERROR="The required value is null";
	/**
	 *NUMERIC_PARSE_ERROR ="Error while parsing String numeric value to int, exception: "; 
	 */
	public static final String NUMERIC_PARSE_ERROR ="Error while parsing String numeric value to int, exception: ";
	
	public static final String GENERIC_ERROR="A wild error appears! ";
	/**
	 * public static final String WRONG_COMMAND_PARAM ="Missing prefix(-) param in comand: ";
	 */
	public static final String WRONG_COMMAND_PARAM ="Missing prefix(-) param in comand: ";
	
	/**
	 * 	/**
	 * NEW_OBJECT_EXCEPTION = "It was not possible to instantiate a new object due exception:  ";
	 *
	 */
	public static final String NEW_OBJECT_EXCEPTION = "It was not possible to instantiate a new object due exception:  ";
	/**
	 * CLASS_NOT_FOUND_EXCEPTION="the respecified class was not found in the classloader, load failed: ";
	 */
	public static final String CLASS_NOT_FOUND_EXCEPTION="the respecified class was not found in the classloader, load failed: ";
	/**
	 * CLASS_IMP_CAST_EXCEPTION="the  generator class especified is not a valid instance of MsgGenerator: ";
	 */
	public static final String CLASS_IMP_CAST_EXCEPTION="the  generator class especified is not a valid instance of MsgGenerator: ";
	
	
	
		private static final long serialVersionUID = 1L;

	public AppException() {
		
	}

	public AppException(String arg0) {
		super(arg0);
		
	}

	public AppException(Throwable arg0) {
		super(arg0);
		
	}

	public AppException(String arg0, Throwable arg1) {
		super(arg0, arg1);
		
	}
	
	

}
